<template>
    <el-config-provider :locale="locale">
        <router-view />
    </el-config-provider>
</template>

<script lang="ts">
import { ElConfigProvider } from 'element-plus';
import zhCn from 'element-plus/lib/locale/lang/zh-cn';
import { defineComponent } from 'vue';

export default defineComponent({
    'components': {
        [ElConfigProvider.name]: ElConfigProvider
    },
    'methods': {},
    data() {
        return {
            'locale': zhCn
        };
    }
});
</script>

<style lang="less">
@import "~@/assets/less/reset";
.main {
    width: 1210px;
    margin: 0 auto;
}


</style>
